package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;

import java.util.List;
import java.util.Map;

/**
 * @program: tanhua
 * @description:
 * @author: leiyukun
 * @create: 2022-04-01 10:38
 **/
public interface UserLikeApi {
    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);

    Map<String, Integer> findcounts(Long userId);

    List<UserLike> findType(Long userId, Integer type);

    Boolean judge(List<Long> userIds, List<Long> touserIds);
}
